Categories of CCNA Interview Questions
Ans: The Transport layer of the OSI model is responsible for reliable connections.
Ans: Handshaking is used to negotiate the properties of a connection that is being established. Acknowledgments are used to tell the sender that data has been successfully received by the destination during the use of a connection.
Ans: Three: Server, Client, and Transparent
Ans: IEEE 802.1Q and Cisco’s ISL
Ans: SNA, NetBIOS, DEC LAT, DEC MOP
Interested in mastering CCNA? Learn more about "CCNA Training" in this blog post.
Ans: The primary difference between TCP and UDP is that TCP is a connection-oriented protocol and UDP is a connection-less protocol.
Ans: HSRP, or the Hot Standby Routing Protocol, is a Cisco proprietary protocol that brings routing functionality to end devices that would otherwise not be capable of taking advantage of redundant network connections. HSRP enables a pair of Cisco routers to work together to present the appearance of a single virtual default-gateway to end devices on a LAN segment.
Ans: Public address space is a unique address that is assigned to a company. Private address space is not recognized by the Internet and can be used by anyone within their private network.
Ans: Authentication, authorization, and accounting
Ans: H.323 is used for multi service (multimedia) applications, usually in a Voice Over IP environment.
Ans: Link State
Ans: 0-255
Ans: Unicast traffic flows from a single source to a single destination MAC address. Multicast traffic flows from a single source MAC address to many destinations and uses a functional MAC address. Broadcast traffic is from a single source to all devices on the Ethernet segment. This is specified by a destination MAC address of all ones.
Ans: From the Cisco IPX encapsulation command, they are ARPA, NOVEL-ETHER, SAP and SNAP
Ans: Learning, Forwarding, Filtering
Ans: Hybrid
Ans: The Network Layer
Ans: OSPF uses the shortest path first (SPF) algorithm, which is also known as the Dijkstra algorithm.
Ans: A stub area is an area that does not accept routing updates from outside its autonomous system.
Ans: The TTL field indicates the maximum time that a packet can be on the network. Each router that processes this packet decrements the TTL value by 1. If the value reaches zero, the packet is discarded from the network. The purpose of this field is to eliminate the possibility of a packet endlessly traversing the network.
Ans: The primary purpose of a local-area network is to allow resource sharing. The resources may be devices, applications, or information. Examples of shared resources are files, databases, e-mail, modems, and printers.
Ans: A protocol is an agreed-upon set of rules. In data communications, the rules usually govern a procedure or a format.
Ans: A Media Access Control protocol defines how a given LAN medium is shared, how LAN devices connected to the medium are identified, and how frames transmitted onto the medium are
Ans: A frame is a digital “envelope” that provides the information necessary for the delivery of data across a data link. Typical components of a frame are identifiers (addresses) of the source and destination devices on the data link, an indicator of the type of data enclosed in the frame, and error-checking information.
Ans: A feature common to all frame types is a format for identifying devices on the data link.
Ans: A Media Access Control address or identifier is a means by which individual devices connected to a data link are uniquely identified for the purpose of delivering data.
Ans: An address specifies a location. A MAC address is not a true address because it is permanently associated with the interface of a specific device and moves whenever the device moves. A MAC identifies the device, not the location of the device.
Ans: The three sources of signal degradation on a data link are attenuation, interference, and distortion. Attenuation is a function of the resistance of the medium. Interference is a function of noise entering the medium. Distortion is a function of the reactive characteristics of the medium, which react differently to different frequency components of the signal.
Ans: A repeater is a device that extends the useful range of a physical medium by reading a degraded signal and producing a “clean” copy of the signal.
Ans: A bridge is a device that increases the capacity of a LAN. A bridge divides the data link into segments, forwarding only traffic that is generated on one segment and is destined for another segment. By controlling and limiting the traffic on a data link, more devices may be attached to the LAN.
Ans: A transparent bridge “listens promiscuously” on each of its ports. That is, it examines all frames on all media to which it is attached. It records the source MAC identifiers of the frames, and the ports on which it learns the identifiers, in a bridging table. It can then refer to the table when deciding whether to filter or forward a frame. The bridge is transparent because it performs this learning function independently of the devices that originate the frames. The end devices themselves have no knowledge of the bridge.
Ans: Three fundamental differences between local-area and wide-area networks are: LANs are limited to a small geographic area, such as a single building or small campus. WANs cover a large geographic area, from citywide to worldwide. LANs usually consist entirely of privately owned components. Some components of a WAN, such as a packet switching network or point-to-point serial links, are usually leased from a service provider. A LAN provides high bandwidth at a relatively cheap price. The bandwidth across a WAN is significantly more expensive.
Ans: A broadcast MAC identifier, when used as the destination address of a frame, signifies that the data is for all devices attached to the data link. In binary, the broadcast MAC identifier is all one. In hex, it is ffff.ffff.ffff.
Ans: The primary similarity between a bridge and a router is that both devices increase the number of hosts that may be interconnected into a common communications network. The difference is that a bridge works by interconnecting separate segments of a single network, whereas a router interconnects separate networks.
Ans: A packet is the means by which data is transported from one network to another. The similarity between a frame and a packet is that they both encapsulate data and provide an addressing scheme for delivering the data. The difference between a frame and a packet is that the frame delivers data between two devices sharing a common data link, whereas a packet delivers data across a logical pathway, or route, spanning multiple data links.
Ans: Neither the source nor the destination address of a packet changes as it progresses from the source of the packet to the destination.
Ans: Network addresses are the addresses used in packets. Each network address has a network port, which identifies a particular data link, and a host or node part, which identifies a specific device on the data link identified by the network part.
Ans: A packet identifies a device from the perspective of the entire internetwork. A-frame identifies a device from the perspective of a single data link. Because the connection between two devices across an internetwork is a logical path, a network address is a logical address. Because the connection between two devices across a data link is a physical path, a data link identifier is a physical address.
Ans: The five layers of the TCP/IP protocol suite are the following:
-Physical layer
-Datalink layer
-Internet (or IP) layer
-Host-to-host layer
-Application layer
Ans: The most common IP version now in use is version 4.
Ans: Routers perform fragmentation when a packet is longer than the maximum packet length (Maximum Transmission Unit, or MTU) supported by a data link onto which the packet must be transmitted. The data within the packet will be broken into fragments, and each fragment will be encapsulated in its own packet. The receiver uses the Identifier and Fragment Offset fields and the MF bit of the Flags field to reassemble the fragments.
Ans: The Time to Live (TTL) field prevents “lost” packets from being passed endlessly through the IP internetwork. The field contains an 8-bit integer that is set by the originator of the packet. Each router through which the packet passes will decrement the integer by one. If a router decrements the TTL to zero, it will discard the packet and send an ICMP “time exceeded” error message to the packet’s source address.
Ans: The first octet rule determines the class of an IP address as follows: Class A: The first bit of the first octet is always 0. Class B: The first two bits of the first octet are always 10. Class C: The first three bits of the first octet is always 110. Class D: The first four bits of the first octet are always 1110. Class E: The first four bits of the first octet are always 1111.
Ans: The A, B, C IP addresses are recognized in dotted decimal and binary as follows: Class Binary Range of First Octet Decimal Range of First Octet A 0000000 – 01111110 1 – 126 B 10000000 – 10111111 128 – 191 C 11000000 – 11011111 192- 223
Ans: An IP address mask identifies the network part of an IP address. Each one in the 32-bit mask marks the corresponding bit in the IP address as a network bit. A zero in the mask marks the Corresponding bit in the IP address as a host bit. A Boolean AND is performed in all 32 bits of the address and the mask; in the result, all network bits of the mask will be repeated, and all host bits will be changed to zero.
Ans: A subnet is a sub-grouping of class A, B, or C IP address. Without subletting, the network part of a major class A, B, or C IP address can only identify a single data link. Subnetting uses some of the host bits of a major IP address as network bits, allowing the single major address to be “Subdivided” into multiple network addresses.
Ans: A classful routing protocol has no way to differentiate between the all-zeroes subnet and the major IP address, and between the all-ones subnet and the all-hosts, the all-subnets broadcast address of the major IP address.
Ans: ARP, or Address Resolution Protocol, is a function that maps the IP addresses of interfaces on a data link to their corresponding MAC identifiers.
Ans: Proxy ARP is a function of an IP router. If the router hears an ARP request, and The destination network or subnet is in the router’s routing table, and The table indicates that the destination is reachable via a different router interface than the one on which the ARP request was received, The router will respond to the ARP request with its own MAC address.
Ans: A redirect is an IP router function. If a device has sent a packet to the router and the router must forward the packet to a next-hop router on the same data link, the router will send a redirect to the originating device. The redirect will inform the device that it can reach the next-hop router directly.
Ans: TCP, or Transmission Control Protocol, provides a connection-oriented service over the Connectionless internet layer. UDP, or User Datagram Service, provides connectionless service.
Ans: Correct sequencing is accomplished with sequence numbers. Reliability is accomplished by using checksums, acknowledgments, timers, and retransmissions. Flow control is accomplished by windowing.
Ans: A MAC identifier is a fixed-length binary integer. If IP used MAC identifiers as the host part of the IP address, subnetting would not be possible because there would be no flexibility in using some of the host bits as network bits. NetWare has a transport layer service similar to TCP called Sequenced Packet Exchange (SPX), but no service similar to UDP. Applications requiring connectionless service directly access the connectionless IPX at the network layer. What purpose does UDP serve by providing a connectionless service on top of what is already a connectionless service? Answer: The only purpose of the UDP header is to add fields for the source and destination port numbers.
Ans: At a minimum, each entry of the routing table must include a destination address and the address of a next-hop router or an indication that the destination address is directly connected.
Ans: Variably subnetted means that the router knows of more than one subnet mask for subnets of the same major IP address.
Ans: Discontiguous subnets are two or more subnets of a major IP network address that are separated by a different major IP address.
Ans: show ip route is used to examine the routing table of a Cisco router.
Ans: The first bracketed number is the administrative distance of the routing protocol by which the route was learned. The second number is the metric of the route.
Ans: When a static route is configured to reference an exit interface instead of a next-hop address, the destination address will be entered into the routing table as directly connected.
Ans: A summary route is a single route entry that points to multiple subnets or major IP addresses. In the context of static routes, summary routes can reduce the number of static routes that must be configured.
Ans: An administrative distance is a rating of preference for a routing protocol or a static route. Every routing protocol and every static route has an administrative distance associated with it. When a router learns of a destination via more than one routing protocol or static route, it will use the route with the lowest administrative distance.
Ans: A floating static route is an alternative route to a destination. The administrative distance is set high enough that the floating static route is used only if a more-preferred route becomes unavailable.
Ans: Equal-cost load sharing distributes traffic equally among multiple paths with equal metrics. Unequal-cost load sharing distributes packets among multiple paths with different metrics. The traffic will be distributed inversely proportional to the cost of the routes.
Ans: If an interface is fast switched, per-destination load sharing is performed. If an interface is process switched, per-packet load sharing is performed.
Ans: A recursive routing table lookup occurs when a router cannot acquire all the information it needs to forward a packet with a single routing table lookup. For example, the router may perform one lookup to find the route to a destination and then perform another lookup to find a route to the next hop router of the first route.
Ans: A routing protocol is a “language” that routers speak to each other to share information about network destinations.
Ans: At a minimum, a routing protocol should define procedures for:
-Passing reachability information about networks to other routers
-Receiving reachability information from other routers
-Determining optimal routes based on the reachability information it has and for recording this information in a route table
-Reacting to, compensating for, and advertising topology changes in an internetwork
Ans: A route metric, also called a route cost or a route distance, is used to determine the best path to a destination. Best is defined by the type of metric used.
Ans: Convergence time is the time a group of routers take to complete the exchange of routing
Ans: Load balancing is the process of sending packets over multiple paths to the same destination. Four types of load balancing are: Equal cost, per-packet Equal cost, per destination Unequal cost, per-packet Unequal cost, per destination
Ans: A distance vector protocol is a routing protocol in which each router calculates routes based on the routes of its neighbors and then passes its routes to other neighbors.
Ans: Several problems associated with distance vector protocols are: A susceptibility to incorrect routing information because of its dependence on neighbors for correct information Slow convergence Route loops Counting to infinity
Ans: Neighbors are routers connected to the same data link.
Route invalidation timers delete routes from a route table if they exceed a certain age.
Ans: A simple split horizon does not send route information back to the source of the route information. Split horizon with poisoned reverse sends the information back to the source but sets the metric to unreachable.
Ans: Counting to infinity occurs when routes update a route over a loop; each router increases the metric of the route until the metric reaches infinity. The effects of counting to infinity are controlled by defining infinity as a fairly low metric so that infinity is reached fairly quickly and the route is declared unreachable.
Hold down timers help prevent routing loops. If a route is declared unreachable or if the metric increases beyond a certain threshold, a router will not accept any other information about that route until the hold-down timer expires. This approach prevents the router from accepting possibly bad routing information while the internetwork is re converging.
Ans: A distance-vector router sends its entire route table, but it only sends the table to directly connected neighbors. A link-state router sends only information about its directly connected links, but it floods the information throughout the internetworking area. Distance vector protocols usually use a variant of the Bellman-Ford algorithm to calculate routes, and link-state protocols usually use a variant of the Dijkstra algorithm to calculate routes.
79Q) What is the purpose of a topological database?
Ans: A topological database holds the link state information originated by all routers in the link-state routing domain. Explain the basic steps involved in converging a link-state inter network.? Each router floods a link-state information advertisement describing its links, the states of its links, and any neighboring routers connected to those links, throughout the internetworking area. All routers store all received copies of the link state advertisement in a link-state database. Each router calculates a shortest-path tree from the information in the topological database and enters routes in its routing tables based on the shortest path tree.
Ans: Sequence numbers help a router differentiate between multiple copies of the same link state advertisement and also prevent flooded link state advertisements from circulating endlessly throughout the internetwork.
Ans: Aging prevents old, possibly obsolete, link-state information from residing in a topological database or from being accepted by a router.
Ans: A router builds a shortest path tree by first adding itself as the root. Using the information in the topological database, the router creates a list of all of its directly connected neighbors. The lowest cost link to a neighbor becomes a branch of the tree, and that router’s neighbors are added to the list. The list is checked for duplicate paths, and if they exist, the higher-cost paths are removed from the list. The lowest-cost router on the list is added to the tree, that router’s neighbors are added to the list, and the list is again checked for duplicate paths. This process continues until no routers remain on the list.
Ans: Within a routing domain, areas are subdomains. They make link-state routing more efficient by limiting the size of the link-state database of each router in the area.
Ans: Depending on the usage, an autonomous system can be defined as an internetwork under a common administrative domain or a single routing domain.
Ans: An Interior Gateway Protocol is a routing protocol that routes within an autonomous system. An Exterior Gateway Protocol is a routing protocol that routes between autonomous systems.
Ans: RIP uses UDP port 520.
Ans: RIP uses a hop count metric. An unreachable network is indicated by setting the hop count to 16, which RIP interprets as an infinite distance.
Ans: RIP sends periodic updates every 30 seconds minus a small random variable to prevent the updates of neighboring routers from becoming synchronized.
89Q) How many updates must be missed before a route entry will be marked as unreachable?
Ans: A route entry is marked as unreachable if six updates are missed.
Ans: The garbage-collection timer, or flush timer, is set when a route is declared unreachable. When the timer expires, the route is flushed from the route table. This process allows an unreachable route to remain in the routing table long enough for neighbors to be notified of its status.
Ans: The random timer, whose range is 1 to 5 seconds, prevents a “storm” of triggered updates during a topology change.
92Q) What is the difference between a RIP Request message and a RIP Response message?
Ans: A Request message asks a router for an update. A Response message is an update.
Ans: A Request message may either ask for a full update or in some special cases it may ask for specific routes.
Ans: A Response is sent when the update timer expires, or upon reception of a Request message.
Ans: RIP updates do not include the subnet mask of the destination address, so a RIP router depends on the subnet masks of its own interfaces to determine how an attached major network address is subnetted. If a router does not have an attachment to a particular major network address, it has no way to know how that major network is subnetted. Therefore, no subnets of a major network address can be advertised into another major network.
Ans: IGRP does not use a UDP port. It is accessed directly from the network layer, as protocol number 9.
Ans: The maximum IGRP network diameter is 255 hops.
You liked the article?
Like: 2
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.